local ui = require "JSON"
--ui_ref = true
init("0",1)
local w_,h_ = getScreenSize() --w < h
local h = w_
local w = h_
--主ui界面
ui:new(w,h,"2.png","下一步","不玩了","save_最新.dat")
local p = ui:newPage("刷道设置")
playAudio("功能选择.wav") 
local QQ群 = {
  {
    ["goto"] = "http://shang.qq.com/wpa/qunwpa?idkey=2c824542bfab3d4e4bad397a4ad39cb4005dcccee3381fc7b7f6f4281289f8e5",
    ["text"] = "608765301",
  },
  {
    ["goto"] = "http://shang.qq.com/wpa/qunwpa?idkey=63bdf08c40850fdd9975234d28345bfcaba66203b9b7f4fdfbb24401f7c10513",
    ["text"] = "595956801",
  }
}
--------------------
p:newLine(0)
p:addLebel(4.3,1,"①.五点自动除暴/修山/十绝设置","30","left","60,40,0")
local b = p:newBox(5,0)
b:addCheckBoxGroup(0.9,7,1,"2060","","开启")
--p:addComboBox(0.8,1.9,1,"2060","","开启","关闭")
p:newLine(0.5)
p:addLebel(2.8,1,"②.全局时间设置：","30","left","60,40,0")
local b = p:newBox(5,0)
b:addCheckBoxGroup(0.9,7,1,"自动4项","","双倍","急急律令","紫气鸿蒙","宠风散")
p:newLine(0.5)
p:addLebel(0.25,1,"","30","left","60,40,0")
p:addLebel(2.44,1,"土豪全天开双：","30","left","60,40,0")
local b = p:newBox(4,0)
b:addCheckBoxGroup(0.9,7,1,"土豪","","我是土豪帮我全天开双")
p:newLine(0.5)
p:addLebel(2.8,1,"③.指定回合开启：","30","left","60,40,0")
local b = p:newBox(3,0)
b:addCheckBoxGroup(0.9,7,1,"回合开启","","双倍","急急律令")
p:addComboBox(0.8,2.3,1,"回合","","2回合开启","3回合开启","4回合开启","5回合开启","6回合开启","7回合开启","8回合开启","9回合开启","10回合开启")

p:newLine(-0.1)
p:addLebel(2.8,1,"④.刷道模式选择：","30","left","60,40,0")
local b = p:newBox(4,0)
b:addRadioBoxGroup(6.3,1,"刷道选择","","带队伏魔","带队降妖","混队伏魔","混队降妖")
p:newLine(0.5)
p:addLebel(0.25,1,"","30","left","60,40,0")
p:addLebel(2.44,1,"老君提醒设置：","30","left","60,40,0")
local b = p:newBox(4,0)
b:addRadioBoxGroup(6.3,1,"铃声","","开启","关闭")
p:newLine(0.5)
p:addLebel(0.25,1,"","30","left","60,40,0")
p:addLebel(2.44,1,"同意队长申请：","30","left","60,40,0")
local b = p:newBox(4,0)
b:addRadioBoxGroup(6.3,1,"队长","","开启","关闭")
p:newLine(0.5)
p:addLebel(0.25,1,"","30","left","60,40,0")
p:addLebel(2.44,1,"掉线自动重连：","30","left","60,40,0")
--local b = p:newBox(0.2,0)
p:addComboBox(0.9,2.3,1,"重连时","","立即重连","5分钟","30分钟","一个小时","不连")
p:newLine(-0.15)
p:addLebel(2.8,1,"⑤.是否有固定队：","30","left","60,40,0")
local b = p:newBox(4,0)
b:addRadioBoxGroup(6.3,1,"固定队","","无固定队帮我组队","有固定队直接刷道")
p:newLine(0.5)

--------------





----------------------------------------------------------------------------

--p:newLine(0.6)
--p:addLebel(8,1,"请对我们提出您宝贵的建议↓↓↓↓填写下方谢谢您的支持↓↓↓↓","25","left","255,0,0")
--p:newLine(-0.5)
--p:addEdit(6,0.8,"建议谢谢","对于脚本如果您哪里不满意或者有什么好的建议请输入到这里,建议加下qq群哦：608765301(输入前吧这一段删掉)","对于脚本如果您哪里不满意或者有什么好的建议请输入到这里","default","20","left","0,0,255")
--p:addEdit(6.5,0.8,"密码串551","对于脚本如果您哪里不满意或者有什么好的建议请输入到这里，建议加下qq群哦：608765301","","default","20","left","0,0,0")
----------------------------------------------------------------------------

local p = ui:newPage("秒公式")
----------------------------------------------------------------------------
p:newLine(0.5)
p:addComboBox(0.9,3.3,1,"总开关","1","右侧总开关：开","右侧总开关：关")
local b = p:newBox(6,0)
b:addRadioBoxGroup(6,1,"秒买","","秒公示","秒女娲塔牌")
------------
local p = ui:newPage("自动喊话")
----------------------------------------------------------------------------
p:newLine(0.5)
local b = p:newBox(4,0)
b:addCheckBoxGroup(0.9,7,1,"喊话设置","","自动喊话")
---------------


local p = ui:newPage("宠物详解")
----------------------------------------------------------------------------
p:newLine(0)
p:addLebel(2.44,1,"宠物详解攻略：","30","left","25,0,0")
p:newLine(-0.2)
p:addLebel(9.5,3,"  问道手游中出现的所有怪物，除了在任务中出现的特定怪物和被其召唤出来的怪物外，大部分都可以被玩家捕获而成为玩家的（宠物）。宠物可以参加战斗，成为我方的战斗力和伙伴，其威力不可忽视哦。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(2.44,1,"宠物获取途径：","30","left","25,0,0")
p:newLine(-0.2)
p:addLebel(9.5,2,"  问道手游宠物可以通过天墉城董老头购买，也可以通过战斗中对怪物进行捕捉获得，也可通过某些任务获得。","30","left","255,0,0")
p:newLine(-0.5)
p:addLebel(9.5,1.5,"  在战斗中，玩家点击捕捉，鼠标再点击要捕捉的怪物，即可完成捕捉，捕捉有一定几率失败。携带宠物是有等级要求的。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,2,"  问道手游宠物可以通过天墉城董老头购买，也可以通过战斗中对怪物进行捕捉获得，也可通过某些任务获得。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(3.44,1,"一、宠物的基本属性","30","left","25,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1,"  体质：与宠物的气血和防御相关。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1,"  灵力：可以增强宠物的法力、法术伤害力等。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1,"  力量：与宠物的物理攻击力和命中率相关。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1,"  敏捷：与宠物的出招速度相关。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(3.44,1,"二、宠物的其他属性：","30","left","25,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1.5,"  忠诚：与宠物参战几率相关。忠诚度低于 70 的宠物有一定几率不参加战斗。 忠诚度低于30的宠物不会陪伴主人进行战斗。玩家可通过驯养或在特殊NPC处治疗来提高宠物的忠诚度。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1,"  武学：与宠物抵御障碍类技能的程度相关。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1.5,"  抗性点数：抗性点数与宠物等级相关。可自由分配到抗性或抗异常上。每项最多分配30点。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1,"  抗性：可减少受到的相应相性的伤害。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1,"  抗异常：与宠物抵御障碍类技能的程度相关。。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1.5,"  成长：与炼化的内丹质量相关且一定程度上关系着宠物每点属性发挥的作用。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1.5,"  寿命：当宠物寿命为 0 时，宠物自然死亡。玩家可通过使用炼化药品来提高宠物寿命。","30","left","255,0,0")
p:newLine(-0.2)
p:addLebel(9.5,1.5,"  技能：法术型宠物所拥有的法术技能。玩家可自定义宠物使用法术的快捷键。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(3.44,1,"　【宠物的作用】","30","left","25,0,0")
p:newLine(-0.3)
p:addLebel(9.5,1.5,"  宠物可以跟随玩家参加战斗，帮助玩家取得战斗胜利。宠物也可以用来炼化内丹。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(3.44,1,"　【宠物的攻击】","30","left","25,0,0")
p:newLine(-0.3)
p:addLebel(9.5,1,"  法术型宠物20级时拥有法术攻击技能，此时可以攻击单个对象。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,1,"  法术型宠物40级时拥有的法术攻击技能可以攻击两个对象。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,1,"  法术型宠物60级时拥有高级单体攻击法术。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(3.44,1,"　【宠物寄存】","30","left","25,0,0")
p:newLine(-0.3)
p:addLebel(9.5,1.5,"  宠物可以在顶级帮派里面寄存。玩家通过和顶级帮派里面的管家交谈寄存宠物。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(3.44,1,"　【宠物技能】","30","left","25,0,0")
p:newLine(-0.3)
p:addLebel(9.5,2,"  技能分为普通攻击技能和天生技能两种。宠物捕捉成功以后，有一定几率会携带天生技能。天生技能是辅助型法术，可以增加战斗成员的自身属性。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,1.5,"  普通技能","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,1.5,"  天生技能","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,1.5,"  在捕捉以后，宠物有一定几率带有天生技能。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,1.5,"  在捕捉以后，宠物有一定几率带有天生技能。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(3.44,1,"关于宠物强化","30","left","25,0,0")
p:newLine(-0.3)
p:addLebel(9.5,4.8,"    宠物天生带有一些技能等级为1级的特殊技能。这些技能不会因为使用归元露而消失。宠物最多带有3种特殊技能。宝宝是《问道》手游里面比较普遍的宠物选择，成长潜力比较高，但仍然有很大的进步空间。为了让自己的宝宝更加强大，具备更加强力的成长属性，道友们就需要考虑给宝宝进行“强化”。然而，很多新手道友对于宠物如何强化并不是非常熟悉，这里就由我来给大家详细地讲一讲《问道》手游里面的宠物强化教程。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,2.8,"    在游戏面板的右上方点击宠物头像便会跳出一个宠物属性界面，在界面下方有一个“强化”按钮。点击“强化”按钮就会跳出强化界面。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,2.5,"    强化需要消耗宠物强化丹，宠物强化丹可在游戏中的商城里进行购买，每次强化需要一颗宠物强化丹。需要注意的是，如果使用的宠物强化丹是限制道具，那么强化后的宠物将会在一段时间内限制交易哦。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,2.5,"    运气比较好的道友，在使用强化丹强化时，有可能一次成功，强化失败则会累计强化完成度，当强化完成度达到百分百之后，强化就必定会成功。","30","left","255,0,0")
p:newLine(-0.3)
p:addLebel(9.5,2.8,"    宠物一共可以强化12次，通过不断地强化，宠物基础成长会有很大的提升，这也是宠物强化如此受欢迎的原因。而如果道友的宠物是霸气的变异宠，那么这个教程就没啥用啦，因为变异宠已经足够强大，无需使用强化功能进行强化哦!","30","left","255,0,0")
-------------------------------------


---------------------------------------
local p = ui:newPage("联系作者")
p:newLine(0.6)
p:addLebel(10,1,"作者QQ:1364264337","35","center","255,0,0")
p:newLine(-0.2)
p:addLebel(10,1,"群号:①608765301","35","center","255,0,0",QQ群) 
p:newLine(-0.2)
p:addLebel(10,1,"群号:②595956801","35","center","255,0,0",QQ群) 
p:newLine(-0.2)
p:addLebel(10,1,"欢迎加QQ群反馈问题和提出建议","35","center","255,0,0") 
p:newLine(-0.2)
p:addLebel(10,1,"作者会尽量满足大家的需求","35","center","255,0,0") 
p:newLine(-0.2)

----------------------------------------------------------------------------

ret,result = ui:show()
if ret == 0 then lua_exit() else stopAudio() end

print(result)


